package com.qjc.demo.train.gragh.adjacencylist;

/**
 * @ClassName: Vertex
 * @Description: 结点
 * @Author: qjc
 * @Date: 2022/5/2 10:37 PM
 */
public class Vertex {
    String name;// 结点名称
    Edge next;// 从该节点出发的边

    public Vertex(String name, Edge next) {
        this.name = name;
        this.next = next;
    }
}
